package it.zqdszb.mvp.contract;

import java.util.List;

import it.zqdszb.entity.HotChannelBean;
import it.zqdszb.entity.PlayLinkListBean;
import it.zqdszb.library.basemvp.BaseModel;
import it.zqdszb.library.basemvp.BasePresenter;
import it.zqdszb.library.basemvp.BaseView;
import it.zqdszb.mvp.callback.OnGetPlayLinkCallBack;
import it.zqdszb.mvp.callback.OnTvRecommendCallBack;

/**
 * Created by GH on 2018-05-13.
 */

public interface TvRecommendContract {

	interface TvRecommendView extends BaseView {
		void showView(List<HotChannelBean> result);
		void goPlay(List<PlayLinkListBean> result);
		void showError(String mothead);
	}

	interface TvRecommendModel extends BaseModel {
		void fetchData(OnTvRecommendCallBack callBack);
		void getPlayLink(OnGetPlayLinkCallBack callBack,String  channerlId);
	}

	abstract class  TvRecommendConPresenter extends BasePresenter<TvRecommendView,TvRecommendModel> {
		public abstract void getData();
		public abstract void  getPlayLink(String  channerlId);
	}
}
